﻿using System.Drawing;

namespace OpenChart.Entities
{
    /// <summary>
    /// 分割线
    /// </summary>
    public class PartingLine : ChartElement
    {
        /// <summary>
        /// 线条颜色
        /// </summary>
        public Color LineColor { get; set; }

        /// <summary>
        /// 分割线对应的Y轴值
        /// </summary>
        public double YValue { get; set; }

        private Enums.LineStyle _lineStyle = Enums.LineStyle.Solid;
        /// <summary>
        /// 线条样式
        /// </summary>
        public Enums.LineStyle LineStyle
        {
            get { return _lineStyle; }
            set { _lineStyle = value; }
        }

        private int _lineWidth = 1;
        /// <summary>
        /// 线条宽度
        /// </summary>
        public int LineWidth
        {
            get { return _lineWidth; }
            set { _lineWidth = value; }
        }
    }
}
